﻿using System.Collections.Generic;
using Fabrication.Tests.TestClasses;
using NUnit.Framework;

namespace Fabrication.Tests
{
    [TestFixture]
    public class dictionaries
    {
        [Test]
        public void should_set_dictionary_properties_to_empty_dictionary()
        {
            var builtItem = new FabricationScope()
                .Generate<SinglePropertyClass<Dictionary<int, string>>>();

            Assert.That(builtItem.Value, Is.Not.Null);
        }

        [Test]
        public void should_set_idictionary_properties_to_empty_dictionary()
        {
            var builtItem = new FabricationScope()
                .Generate<SinglePropertyClass<Dictionary<int, string>>>();

            Assert.That(builtItem.Value, Is.Not.Null);
        }
    }
}